<?php
namespace app\common\model;

use think\Model;
use think\Db;
use think\model\concern\SoftDelete;

class OrderModel extends Model
{
	use SoftDelete;
    protected $name = 'user_fund_log';
    protected $deleteTime = 'delete_time';

    public function param_format($param = array())
    {
        $param['limit'] = empty($param['limit']) ? 10 : $param['limit'];
        $param['page']  = empty($param['page']) ? 1 : $param['page'];
        $param['order_no'] = empty($param['order_no']) ? '' : $param['order_no'];
        $param['status'] = !isset($param['status']) ? -1 : $param['status'];

        return $param;
    }
}
